<template>
  <div id="app">
    <div id="nav">
      <router-view />
      <van-tabbar route v-if="this.$route.meta.showTab">
        <van-tabbar-item replace to="/" icon="home-o">首页</van-tabbar-item>
        <van-tabbar-item replace to="/rank" icon="hot-o">排行</van-tabbar-item>
        <van-tabbar-item replace to="/me" icon="https://b.yzcdn.cn/vant/icon-demo-1126.png">我的</van-tabbar-item>
      </van-tabbar>
    </div>
  </div>
</template>

<script>
export default {
  
}
</script>

<style lang="stylus">
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
}
</style>
